package com.ruoyi.recruit.domain;

import com.baomidou.mybatisplus.annotation.*;

import javax.validation.constraints.NotBlank;

import com.ruoyi.common.mybatisplus.core.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;

/**
 * 笔试人员成绩对象 recruit_user_written
 * 
 * @author ruoyi
 * @date 2022-05-05
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("recruit_user_written")
public class RecruitUserWritten extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 招聘id */
    @NotBlank(message = "招聘id不能为空")
    private Long recruitId;

    /** 招聘名称 */
    @TableField(exist = false)
    @Excel(name = "招聘名称")
    private String recruitName;

    /** 计划id */
    @NotBlank(message = "计划id不能为空")
    private Long contentId;

    /** 岗位名称 */
    @Excel(name = "岗位名称")
    @TableField(exist = false)
    private String postName;

    /** 岗位代码 */
    @Excel(name = "岗位代码")
    @TableField(exist = false)
    private String postCode;

    /** 岗位层次 */
    @Excel(name = "岗位层次")
    @TableField(exist = false)
    private String postLevel;

    /** 用户id */
    @NotBlank(message = "用户id不能为空")
    private Long userId;

    /** 姓名 */
    @Excel(name = "姓名")
    @TableField(exist = false)
    private String name;

    /** 性别 */
    @Excel(name = "性别", dictType = "sys_user_sex", comboDict = "sys_user_sex")
    @TableField(exist = false)
    private String sex;

    /** 身份证号 */
    @Excel(name = "身份证号")
    @TableField(exist = false)
    private String idCard;

    /** 初试成绩 */
    @Excel(name = "笔试成绩成绩")
    private String exam;

    /** 备注 */
    @Excel(name = "备注")
    private String remark;

    /** 删除标识 */
    @TableLogic
    private String delFlag;
}
